package file;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: xiaotutu
 * Date: 2025-03-04
 * Time: 21:18
 */
//OutputStream的使用
public class Demo10 {
    public static void main(String[] args) throws IOException {
        try(OutputStream outputStream = new FileOutputStream("c:/code/test.txt", true)) {
            outputStream.write(111);
        }
    }
}
